<?php include("../../core/connect.php");?>
<?php 

$room_id = $_GET["room_id"];
if ($room_id != null) {
	$room_id = mysql_real_escape_string($room_id);
	$strQuery = 'SELECT * FROM tb_account_admin WHERE room_id="'. $room_id.'"';
	$result = mysql_query($strQuery);
	if ($result == NULL) {
	exit();
	}
?>

<?php
$num=0;
?>
<table>
    <tr>
        <td>
        <select name="txtNguoiquanly" style="width:300px">
		<option value="">--Lựa chon-- </option>
	<?php	while($row = mysql_fetch_array($result))
			{
				$num=$num+1;
			?>
        	<option value="<?php echo $row['account_id']?>"><?php echo $row['account_name'];?> </option>
            <?php
			}
			?>
        </select>
        </td>
    </tr>
</table>


<?php }?>
